<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<link href="${ctx}/resources/css/pagination.css" rel="stylesheet" type="text/css">

<div class="tour_box">
	<table id="table" class="table center">
		<thead>
			<tr>
				<th width="30">序号</th>
				<th width="200">线路名称</th>
				<th width="70">出发地点</th>
				<th width="70">发布单位</th>
				<th width="40">发布时间</th>
				<th width="40">市场价</th>
				<th width="40">VIP会员价</th>
				<th width="40">能否报名</th>
				<th width="40">操作</th>
			</tr>
			<tr>
			</tr>
		</thead>
		<tbody>

			<c:forEach varStatus="status" var="travelLine" 	items="${pageData.result}">
				<tr>
					<td><c:out value="${status.count}" /></td>
					<td><a href="${travelLine.lineLink}">${travelLine.lineName}</a></td>
					<td>${travelLine.departureCity}</td>
					<td>${travelLine.releaseUnit}</td>
					<td><fmt:formatDate value="${travelLine.releaseTime}" pattern="yyyy-MM-dd" /></td>
					<td>${travelLine.price}</td>
					<td>${travelLine.vipPrice}</td>				
					<c:if test="${travelLine.isUse == 0}">
						<td>停线</td>
					</c:if>
					<c:if test="${travelLine.isUse == 1}">
						<td>可以报名</td>
					</c:if>
					<td><a href="javascript:deleteTravelType('${travelLine.id}')">删除</a></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="page">${pagination}</div>